<template>
  <van-swipe :autoplay="3000">
    <van-swipe-item v-for="(item) in banerslist" :key="item.sorts">
      <img :src="item.image" />
    </van-swipe-item>
  </van-swipe>
</template>
<script>
export default {
  props: ["banerslist"],
  data() {
  
  }
};
</script>

<style lang="scss" scoped>
.van-swipe-item {
  img {
    width: 100%;
    height:100%;
  }
}
</style>